<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <include file="Common@Common/watcher_js" />
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=<block name="viewport_width">device-width</block>, initial-scale=1, user-scalable=no" />
    <meta name="keywords" content="{$page_keywords}" />
    <meta name="description" content="{$page_description}" />
    <link rel="icon" href="__ASSERTS__/res/fav.ico?{$Think.const.STATIC_RES_HASH}" type="image/x-icon" />
    <link rel="shortcut icon" href="__ASSERTS__/res/fav.ico?{$Think.const.STATIC_RES_HASH}" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="__ASSERTS__/bootstrap/css/bootstrap.yeti.min.css?{$Think.const.STATIC_RES_HASH}" />
    <link rel="stylesheet" href="__ASSERTS__/bootstrap/css/font-awesome.css?{$Think.const.STATIC_RES_HASH}">
    <!--[if IE 7]>
    <link rel="stylesheet" href="__ASSERTS__/bootstrap/css/font-awesome-ie7.min.css?{$Think.const.STATIC_RES_HASH}">
    <![endif]-->
    <title>{$page_title}</title>
    <script src="__ASSERTS__/js/jquery-1.11.3__JS_SUFFIX__?{$Think.const.STATIC_RES_HASH}"></script>
    <link rel="stylesheet" type="text/css" href="__ASSERTS__/res/style.css?{$Think.const.STATIC_RES_HASH}" />
    <!--[if lt IE 9]>
    <script src="__ASSERTS__/bootstrap/js/html5shiv.min.js?{$Think.const.STATIC_RES_HASH}"></script>
    <script src="__ASSERTS__/bootstrap/js/respond.min.js?{$Think.const.STATIC_RES_HASH}"></script>
    <![endif]-->
    <script type="text/javascript">
        var TPX={
            PATH_ROOT : '__ROOT__',
            PATH_ASSERTS:'__ROOT__/asserts',
            SUFFIX_JS:'__JS_SUFFIX__?{$Think.const.STATIC_RES_HASH}',
            SUFFIX_CSS:'.css?{$Think.const.STATIC_RES_HASH}',
            LANG:'<?php echo LANG_SET; ?>',
            UEDITOR:[],
            REWRITE: <?php if(C('URL_MODEL')==2){echo 'true';}else{echo 'false';} ?>
        };
        var require = {
            baseUrl : '__ROOT__/asserts/js'
        };
        var User = {
                <if condition="MEMBER_LOGINED">
                    logined : true,
                    username: '{$data_username}'
                <else/>
                    logined : false,
                    username: ''
                </if>
        };
        var System = {
            wordpress_syncer_enable: <?php echo tpx_config_get('wordpress_syncer_enable')?'true':'false'; ?>
        };
    </script>
    <script src="__ASSERTS__/js/require__JS_SUFFIX__?{$Think.const.STATIC_RES_HASH}"></script>
    <?php echo tpx_config_get('code_counter',''); ?>
</head>
<body>
    <div id="ng-app-lazy" ng-controller="IndexIndexController">
        <div ui-view></div>
    </div>
    <script src="__ASSERTS__/res/all__JS_SUFFIX__?{$Think.const.STATIC_RES_HASH}"></script>
</body>
</html>